package com.hrhx.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName ="lkk_cnarea")
public class ChinaAreaDataBean {
	
	//主键
	@DatabaseField(generatedId = true)
	private int id;
	//外键
	@DatabaseField(columnName = "parent_id")
	private int parent_id;
	
	//名称
	@DatabaseField(canBeNull = false,columnName = "name")
	private String name;
	//短名称
	@DatabaseField(canBeNull = false,columnName = "short_name")
	private String short_name;
	//级别名称
	@DatabaseField(canBeNull = false,columnName = "merger_name")
	private String merger_name;
	//拼音名称
	@DatabaseField(canBeNull = false,columnName = "pinyin")
	private String pinyin;
	
	//级别
	@DatabaseField(canBeNull = false,columnName = "level")
	private int level;
	
	//邮政编码
	@DatabaseField(canBeNull = false,columnName = "zip_code")
	private String zip_code;
	//城市编码
	@DatabaseField(canBeNull = false,columnName = "city_code")
	private String city_code;
	//地区编码
	@DatabaseField(canBeNull = false,columnName = "area_code")
	private String area_code;

	//经度
	@DatabaseField(canBeNull = false,columnName = "lng")
	private String lng;
	//纬度
	@DatabaseField(canBeNull = false,columnName = "lat")
	private String lat;
	
	public ChinaAreaDataBean() {
		super();
	}
	public ChinaAreaDataBean(int id, int parent_id, String name,
			String short_name, String merger_name, String pinyin, int level,
			String zip_code, String city_code, String area_code, String lng,
			String lat) {
		super();
		this.id = id;
		this.parent_id = parent_id;
		this.name = name;
		this.short_name = short_name;
		this.merger_name = merger_name;
		this.pinyin = pinyin;
		this.level = level;
		this.zip_code = zip_code;
		this.city_code = city_code;
		this.area_code = area_code;
		this.lng = lng;
		this.lat = lat;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getParent_id() {
		return parent_id;
	}
	public void setParent_id(int parent_id) {
		this.parent_id = parent_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getShort_name() {
		return short_name;
	}
	public void setShort_name(String short_name) {
		this.short_name = short_name;
	}
	public String getMerger_name() {
		return merger_name;
	}
	public void setMerger_name(String merger_name) {
		this.merger_name = merger_name;
	}
	public String getPinyin() {
		return pinyin;
	}
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getZip_code() {
		return zip_code;
	}
	public void setZip_code(String zip_code) {
		this.zip_code = zip_code;
	}
	public String getCity_code() {
		return city_code;
	}
	public void setCity_code(String city_code) {
		this.city_code = city_code;
	}
	public String getArea_code() {
		return area_code;
	}
	public void setArea_code(String area_code) {
		this.area_code = area_code;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
}
